<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <!--1.width=device-width    //应用程序的宽度和屏幕的宽度是一样的
2.height=device-height  //应用程序的高度和屏幕的高是一样的
3.initial-scale=1.0  //应用程序启动时候的缩放尺度（1.0表示不缩放）
4.minimum-scale=1.0  //用户可以缩放到的最小尺度（1.0表示不缩放）
5.maximum-scale=1.0  //用户可以放大到的最大尺度（1.0表示不缩放）
6.user-scalable=no  //用户是否可以通过他的手势来缩放整个应用程序，使应用程序的尺度发生一个改变（yes/no）
    -->
    <!-- 优先使用 IE 最新版本和 Chrome -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    @include('partner.header')
    <title>合作商价格系统</title>
</head>
<body>
<!--信息层-->
<div class="per-block">
    <div class="block-title title-small">合作商信息
        <!--菜单-->
        <div class="dropdown">
            <button type="button" class="btn dropdown-toggle drop-btn" id="muneSys" data-toggle="dropdown">
                <i class="iconfont icon-select"></i>
            </button>
            <ul class="dropdown-menu drop-list" role="menu" aria-labelledby="muneSys">
                <li role="presentation">
                    <a role="menuitem" tabindex="-1" href="{{url('partner/account')}}">账号管理</a>
                </li>
                <li role="presentation">
                    <a role="menuitem" tabindex="-1" href="{{url('partner/modify')}}">资料修改</a>
                </li>
                <li role="presentation">
                    <a role="menuitem" tabindex="-1" href="{{url('partner/logout')}}">退出登录</a>
                </li>
            </ul>
        </div>
    </div>

    <div class="white-box">
        <div class="info-box">
            <p>合作商号：<span>{{session('partner')->code}}</span><span class="phone-num">{{session('partner')->mobile}}</span></p>
            <p class="shop-name">{{session('partner')->name}}</p>
            <hr class="info-break">
            <p class="address">{{session('partner')->address}}</p>
            <p class="tel">{{session('partner')->phone}}</p>
        </div>
    </div>
</div>
<!-- /. 信息层-->

<!--per block-->
<div class="per-block">
    <div class="block-title">自选婚车价格</div>
    <div class="white-box clearfix padding-block">
        <table class="table table-condensed loose-table">
            <thead>
            <tr>
                <th>车型(数量：1)</th>
                <th class="green-text">城区</th>
                <th class="green-text">近郊</th>
                <th class="green-text">远郊</th>
                <th class="red-text">城区</th>
                <th class="red-text">近郊</th>
                <th class="red-text">远郊</th>
            </tr>
            </thead>
            <tbody>
            @foreach($prices_1 as $p1)
            <tr>
                <td width="100"><a href="{{$p1->pic}}" target="_blank">{{$p1->primary_name}}</a></td>
                <td>{{$p1->price1}}</td>
                <td>{{$p1->price2}}</td>
                <td>{{$p1->price3}}</td>
                <td>{{$p1->partner_price1}}</td>
                <td>{{$p1->partner_price2}}</td>
                <td>{{$p1->partner_price3}}</td>
            </tr>
            @endforeach
           
            </tbody>
        </table>
    </div>
</div>
<!-- /. per block-->

<!--per block-->
<div class="per-block">
    <div class="block-title">婚车套餐价格（1+5）</div>
    <div class="white-box clearfix padding-block">
        <table class="table table-condensed loose-table">
            <thead>
            <tr>
                <th>车型(主1；跟5)</th>
                <th class="green-text">城区</th>
                <th class="green-text">近郊</th>
                <th class="green-text">远郊</th>
                <th class="red-text">城区</th>
                <th class="red-text">近郊</th>
                <th class="red-text">远郊</th>
            </tr>
            </thead>
            <tbody>
            @foreach($prices_2 as $p2)
            <tr>
                <td width="100"><a href="{{$p2->pic}}" target="_blank">主：{{$p2->primary_name}}<br/>从：{{$p2->flow_name}}</a></td>
                <td>{{$p2->price1}}</td>
                <td>{{$p2->price2}}</td>
                <td>{{$p2->price3}}</td>
                <td>{{$p2->partner_price1}}</td>
                <td>{{$p2->partner_price2}}</td>
                <td>{{$p2->partner_price3}}</td>
            </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</div>
<!-- /. per block-->

<!--per block-->
<div class="per-block">
    <div class="block-title">婚车套餐价格（1+7）</div>
    <div class="white-box clearfix padding-block">
        <table class="table table-condensed loose-table">
            <thead>
            <tr>
                <th>车型(主1；跟7)</th>
                <th class="green-text">城区</th>
                <th class="green-text">近郊</th>
                <th class="green-text">远郊</th>
                <th class="red-text">城区</th>
                <th class="red-text">近郊</th>
                <th class="red-text">远郊</th>
            </tr>
            </thead>
            <tbody>
            @foreach($prices_3 as $p3)
            <tr>
                <td width="100"><a href="{{$p3->pic}}" target="_blank">
                    主：{{$p3->primary_name}}<br/>从：{{$p3->flow_name}}</a></td>
                <td>{{$p3->price1}}</td>
                <td>{{$p3->price2}}</td>
                <td>{{$p3->price3}}</td>
                <td>{{$p3->partner_price1}}</td>
                <td>{{$p3->partner_price2}}</td>
                <td>{{$p3->partner_price3}}</td>
            </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</div>
<!-- /. per block-->

<!--explanation block-->
<div class="explanation-box">
<p>报价须知：</p>
<ul class="explanation-list">
    <li><span class="green-text">绿色：建议客户报价</span>，<span class="red-text">红色：合作商报价</span></li>
    <li class="special-item">报价位基本用车报价</li>
    <li>城区包括：绕城内</li>
    <li>近郊包括包括：郫县、温州、新都、温州、温州</li>
    <li>远郊包括：金堂、大义、彭州、简阳、大义、彭州、大义、彭州</li>
</ul>
</div>
<!-- /. explanation block-->

<a href="{{url('partner/logout')}}" class="btn btn-full-green btn-gray font-normal">退出登录</a>
@include('partner.footer')
<script>

</script>
</body>
</html>